home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-04-03 | 1.6 KB | 73 lines | [TEXT/MPS ] |
- // UPerform.h
- // Copyright © 1984-96 by Apple Computer, Inc. All rights reserved.
-
- #ifndef __UPERFORM__
- #define __UPERFORM__
-
- // MacApp
-
- #ifndef __MACAPPTYPES__
- #include "MacAppTypes.h"
- #endif
-
- // #ifndef __UCLASSDESC__
- // #include "UClassDesc.h"
- // #endif
-
- // #ifndef __UITERATOR__
- // #include "UIterator.h"
- // #endif
-
- // Toolbox
-
- #ifndef __FILES__
- #include <Files.h>
- #endif
-
- // ANSI
-
- // #ifndef __STDDEF__
- // #include <stddef.h>
- // #endif
-
- //----------------------------------------------------------------------------------------
- // Forward class declarations
- //----------------------------------------------------------------------------------------
-
- #if qPerform
- class TWindow;
- #endif
-
- //----------------------------------------------------------------------------------------
- // Global function declarations
- //----------------------------------------------------------------------------------------
-
- #if qPerform
-
- extern Boolean PerfMonitorInitiated();
- // Returns true if the performance monitor is currently running.
-
- void InitiatePerfMonitor(TWindow* aWindow);
- // Initiate performance monitoring from the performance monitor initialization dialog
- // box.
-
- void DumpPerfMonitor(const FSSpec& fileSpec);
- // Save performance statistics gathered so far to the file specified by fileSpec.
-
- void EnablePerfMonitor(const Boolean enable);
- // Temporarily Enable/Disable already initiated performance monitoring.
-
- Boolean PerfMonitorEnabled();
- // Is the performance monitor enabled?
-
- void TerminatePerfMonitor();
- // Shut down performance monitoring.
-
- #endif // qPerform
-
- #if qDebug
- extern void DebugTerminate();
- #endif
-
- #endif // __UPERFORM__
-